using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DataModels.Models
{
    [Table("ExcelTemplateReport")]
    public partial class ExcelTemplateReport
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int TemplateID { get; set; }

        [StringLength(1000)]
        public string TemplateName { get; set; }

        [StringLength(1000)]
        public string Description { get; set; }
        
        [StringLength(1000)]
        public string Filename { get; set; }
        
        public bool MainTemplate { get; set; }
        public bool UsedInSAPR { get; set; }
        public bool UsedInAPR { get; set; }

        public Nullable<int> CalculatingMethod { get; set; }

        public virtual List<ExcelTemplateSheet> ExcelTemplateSheets { get; set; }
    }
}
